home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000073_gildea@x.org_Mon Dec 19 11:27:25 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  2KB

  1. Received: from expo.x.org by cs.umb.edu with SMTP id AA19358
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 19 Dec 1994 16:27:29 -0500
  3. Received: from alex.x.org by expo.x.org id AA26067; Mon, 19 Dec 94 16:27:27 -0500
  4. Received: by alex.x.org id AA02855; Mon, 19 Dec 94 16:27:26 EST
  5. Message-Id: <9412192127.AA02855@alex.x.org>
  6. To: "K. Berry" <kb@cs.umb.edu>
  7. Cc: tex-k@cs.umb.edu
  8. Subject: Re: can't build TeX formats with TEXINPUTS set 
  9. In-Reply-To: Message from kb@cs.umb.edu of 18 Dec 94 6:47:28 EST
  10.     <199412181147.AA28623@terminus.cs.umb.edu> 
  11. Date: Mon, 19 Dec 1994 16:27:25 EST
  12. From: Stephen Gildea <gildea@x.org>
  13.  
  14. So the feature of being able to insert the default path in my path has
  15. been there all along.  Well, I feel foolish, but I'm glad to see this.
  16. I have now set my TEXINPUTS to a value that works with both my old TeX
  17. setup and the newly built one.  It seems I did know this once, because
  18. I see my TEXFONTS setting uses it.  So...a path element of "" means the
  19. default path; I'm going to remember that this time.
  20.  
  21. >       Oddly, setting TEXINPUTS to a null value seems to be the same as
  22. >       setting it to "."  I consider this a bug.  A null value should be the
  23. >       same as unsetting it, 
  24. >   
  25. >   Yeah, maybe you're right, but it seems a painful thing to have to
  26. >   program around. I don't think it's odd ...         But, you can
  27. >   work around this by setting the value to `:' -- see below.
  28.  
  29. Now that I understand what "" means, I'd like to argue for my
  30. interpretation again, independent of the relative ease of setting to
  31. null versus unsetting.
  32.  
  33. Start by noting the difference between these two two-element paths:
  34.  
  35.     "foo:" != "foo:."
  36.  
  37. removing the common first element and the separating colon:
  38.  
  39.         "" != "."
  40.  
  41. Q.E.D.
  42.  
  43. As another way of looking at it, a path of ":" contains two null path
  44. elements.  It should behave the same as "", which contains one null
  45. path element, except it might take twice as long to complain about a
  46. non-existent file.
  47.  
  48.  < Stephen